package edu.kit.kitcampusguide.poimanager.model;

import java.util.Collection;
import java.util.Map;

/**
 * The POI-Object represents an Point of Interest. It contains the basic fields Id, Name, Category, Latitude and Longitude.
 * The ID is the unique Identifier of the POI.
 * The Category contain tags, they can be used as identifiers when searching for POIs.
 *     
 * 
 * @author Andrei Miclaus, Robert Reutter
 * 
 */
public class POI{
	
	private int id;
	private String name;
	private String category;
	private double latitude;
	private double longitude;

	
	public POI()
	{
		Map<Integer, Collection<String>> map = null;
	}
	
	public POI(int id, String name, String category, double latitude, double longitude)
	{
		this.id = id;
		this.name = name;
		this.category = category;
		this.latitude = latitude;
		this.longitude = longitude;
	} // constructor
	
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the category
	 */
	public String getCategory() {
		return category;
	}

	/**
	 * @param category the category to set
	 */
	public void setCategory(String category) {
		this.category = category;
	}

	/**
	 * @return the latitude
	 */
	public double getLatitude() {
		return latitude;
	}

	/**
	 * @param latitude
	 *            the latitude to set
	 */
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	/**
	 * @return the longitude
	 */
	public double getLongitude() {
		return longitude;
	}

	/**
	 * @param longitude
	 *            the longitude to set
	 */
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

}
